@import url('~@/styles/mixin.less');

.page {
    padding: 0 24px;
    padding-bottom: 24px;

    .className {
        margin-top: 40px;
        color: #333;
        font-weight: bold;
        font-size: 36px;
    }

    .summary {
        display: flex;
        justify-content: space-between;
        margin-top: 32px;
        margin-bottom: 40px;

        &_count {
            .summaryContent('~@/static/studentManage/bg_xueyuan_green.png');

            box-shadow: 0 8px 32px 0 rgba(31, 191, 175, 0.5);
        }
        &_passCount {
            .summaryContent('~@/static/studentManage/bg_xueyuan_yellow.png');

            box-shadow: 0 8px 32px 0 rgba(255, 145, 81, 0.5);
        }
        &_passRate {
            .summaryContent('~@/static/studentManage/bg_xueyuan_hegelv.png');

            box-shadow: 0 8px 32px 0 rgba(247, 85, 81, 0.5);
        }
    }

    .list {
        display: flex;
        flex-direction: column;
        // gap: 16px;
        & > div:not(:last-child) {
            margin-bottom: 16px;
        }
    }

    .studentInfo {
        display: flex;
        flex-direction: column;
        gap: 12px;
        color: #999;
        font-size: 30px;
    }

    .expandStudentInfo {
        &_detail {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            padding: 24px 0;

            &_item {
                display: flex;
                flex-direction: column;
                gap: 8px;
                font-size: 30px;
                text-align: center;

                & > :first-child {
                    color: #333;
                }
                & > :last-child {
                    color: #1ebead;
                }
            }
        }
        &_result {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 27px 0;
            color: #333;
            font-size: 30px;
            background-color: #f6fafa;

            &_pass {
                color: #2bcf2b;
            }
            &_unPass {
                color: #ff3b30;
            }
        }
    }
}

.summaryContent(@backImage) {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    width: 222px;
    height: 162px;
    color: #fff;
    background-image: url(@backImage);
    background-size: contain;
    border-radius: 16px;

    & > :first-child {
        font-size: 28px;
    }
    & > :last-child {
        font-weight: bold;
        font-size: 44px;
    }
}
